#include <iostream>
#include "queryresult.h"
#include "textquery.h"
using namespace std;

ostream& print(ostream& out, const QueryResult& result)
{
    return out;
}
void runQueries(ifstream &infile)
{
    TextQuery tq(infile);
    while (true) {
        cout << "enter a word to look for, or q to quit: " << endl;
        string str;
        if (!(cin >> str) || str == "q"){
            break;
            print(cout, tq.query(str)) << endl;
        }
    }
}
int main()
{
    cout << "Hello World!" << endl;
    return 0;
}
